import sys
from PyQt6.QtWidgets import QApplication
from gui.main.main_window import MainWindow

if __name__ == '__main__':
    app = QApplication(sys.argv)
    window = MainWindow()
    window.show()
    try:
        sys.exit(app.exec())
    except KeyboardInterrupt:
        print("程序已被用户终止")
        sys.exit(0)